﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace AbpCompanyName.AbpProjectName.Migrations;

public partial class Upgraded_To_Abp_v3_5_0 : Migration
{
    protected override void Up(MigrationBuilder migrationBuilder)
    {
        migrationBuilder.AlterColumn<string>(
            name: "Value",
            table: "AbpUserTokens",
            maxLength: 512,
            nullable: true,
            oldClrType: typeof(string),
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "Name",
            table: "AbpUserTokens",
            maxLength: 128,
            nullable: true,
            oldClrType: typeof(string),
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "LoginProvider",
            table: "AbpUserTokens",
            maxLength: 64,
            nullable: true,
            oldClrType: typeof(string),
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "SecurityStamp",
            table: "AbpUsers",
            maxLength: 128,
            nullable: true,
            oldClrType: typeof(string),
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "PhoneNumber",
            table: "AbpUsers",
            maxLength: 32,
            nullable: true,
            oldClrType: typeof(string),
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "ConcurrencyStamp",
            table: "AbpUsers",
            maxLength: 128,
            nullable: true,
            oldClrType: typeof(string),
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "ConcurrencyStamp",
            table: "AbpRoles",
            maxLength: 128,
            nullable: true,
            oldClrType: typeof(string),
            oldNullable: true);
    }

    protected override void Down(MigrationBuilder migrationBuilder)
    {
        migrationBuilder.AlterColumn<string>(
            name: "Value",
            table: "AbpUserTokens",
            nullable: true,
            oldClrType: typeof(string),
            oldMaxLength: 512,
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "Name",
            table: "AbpUserTokens",
            nullable: true,
            oldClrType: typeof(string),
            oldMaxLength: 128,
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "LoginProvider",
            table: "AbpUserTokens",
            nullable: true,
            oldClrType: typeof(string),
            oldMaxLength: 64,
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "SecurityStamp",
            table: "AbpUsers",
            nullable: true,
            oldClrType: typeof(string),
            oldMaxLength: 128,
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "PhoneNumber",
            table: "AbpUsers",
            nullable: true,
            oldClrType: typeof(string),
            oldMaxLength: 32,
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "ConcurrencyStamp",
            table: "AbpUsers",
            nullable: true,
            oldClrType: typeof(string),
            oldMaxLength: 128,
            oldNullable: true);

        migrationBuilder.AlterColumn<string>(
            name: "ConcurrencyStamp",
            table: "AbpRoles",
            nullable: true,
            oldClrType: typeof(string),
            oldMaxLength: 128,
            oldNullable: true);
    }
}
